"""
一，(1).A (2).A (3).C (4).D (5).A
二，(1).24 (2).20,10,10 (3).1,a > b 2,b = a (4).15
"""

# for n in range(1,5,5):
#     print(n)
# x, y, z = 10, 20,30
# if x < y:
#     z = x
#     x = y
#     y = z
#     print(x,y, z)
a = int (input('输入a的值：'))
b = int (input('输入b的值：'))
if a > b :
    t = a
    a = b
    b = a
print(a,b)
